package com.example.demo02.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * (Products)表实体类
 *
 * @author makejava
 * @since 2024-09-01 20:15:30
 */
@TableName("product")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Product implements Serializable {



    @TableId(value = "product_id", type = IdType.AUTO)
    private Integer productId;//主键

    private String productName;//商品名称

    private String productDescription;//商品描述

    private String productCategory;//商品类别

    private Double productPrice;//商品价格

    private Integer stockQuantity;//库存数量

}

